package com.atguigu.gmall.item.client;

import org.springframework.stereotype.Component;

import java.util.HashMap;
import java.util.Map;

@Component
public class ItemFeignClientImpl  implements ItemFeignClient {

        //降级处理方法
        @Override
        public Map getItem(Long skuId) {
            System.out.println("远程调用失败了 走此处 【web-all 调service-item】");
            //...
            return new HashMap();

}
}
